package com.office.meeting.invited.circumstance.service.impl;

import java.util.List;

import com.office.common.utils.SecurityUtils;
import com.office.meeting.invited.circumstance.domain.Codition;
import com.office.meeting.invited.circumstance.mapper.CoditionMapper;
import com.office.meeting.invited.circumstance.service.ICoditionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 会议Service业务层处理
 *
 * @author 柒月
 * @date 2025-05-23
 */
@Service
public class CoditionServiceImpl implements ICoditionService {
    @Autowired
    private CoditionMapper coditionMapper;

    /**
     * 查询会议列表
     *
     * @param codition 会议
     * @return 会议
     */
    @Override
    public List<Codition> selectCoditionList(Codition codition) {
        //获取当前登录用户
        Long loginUserId = SecurityUtils.getUserId();

        return coditionMapper.selectCoditionList(codition, loginUserId);

    }

}
